#!/bin/bash
clear

mkdir -p linux32
cd linux32

g++ -O3 -m32 -march=i686 -mtune=native -Wall -fPIC -DUNICODE -D_UNICODE -c ../Pokopom/*.cpp
g++ -O3 -m32 -march=i686 -mtune=native -shared -DUNICODE -D_UNICODE -Wl,-soname,libPokopom.so -o libPokopom.so *.o
rm *.o

cd ..
